package com.chenfan.infra.client;

import com.chenfan.ccp.common.result.R;
import com.chenfan.infra.entity.STenantRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "chenfan-cloud-privilege", url = "${feign.privilege:}")
public interface PrivilegeUserServer {

    /**
     * 获取全部用户
     *
     * @param
     * @return
     */
    @GetMapping(value = "tenant/getAllTenantList")
    R<List<STenantRes>> getAllTenantList();
}